<?php
    $this->headTitle($this->site_name.' - Forget password');
?>
<script type="text/javascript" src="/js/jquery.validate.js"></script>
<script type="text/javascript">   
	$(document).ready(function(){
	    $("#form").validate({
	      rules: {
        	email: {
	          required: true,
	          email: true
	        }
	      },
	      messages: {
	    	email: {
	          required: "Email can not be empty",
	          email: "Email must be valid"
	        }
	      }
	    });
	});
</script>  

<?php if (!empty($this->error_msg)):?>
<div class="response-msg error ui-corner-all"><?php echo $this->error_msg;?></div>
<?php endif ?>

<div id="dashboard">

<h2>Forget Password</h2>
 


<div align=center style="font-size:13px;margin:20px 0;">
<div style="text-align:left;">Please enter your account email address, a link will be sent to you and you can reset your password.</div>

<div style="text-align:left;margin-top:10px;">* Google account can not reset password here, please refer to Google.</div>

<div style="width:300px;margin:40px 20px;">

        <div style="text-align:left">

            <form id="form" name="form" method="post">
				<dl class="form">
				<dt id="email-label"><label for="email" class="required">YesUp Account Email:</label></dt>
				<dd id="email-element">
					<input type="text" name="email" id="email" value="<?php echo $this->email; ?>" size="32" />
				</dd>
				<dt id="submit-label">&#160;</dt>
				<dd id="submit-element">
				<input type="submit" name="submit" id="submit" value="Send" />
				</dd>
				</dl>

            
            </form>

        </div>
</div>


</div>

</div>
